<?php if(App\Components\MenuTools::isShowMenu(['/personal/list/order','/personal/price/list'])): ?>
<?php if( (isset($personal_list_order) && $personal_list_order) || (isset($price_list_info) && $price_list_info) ): ?>
<li class="active treeview">
  <?php else: ?>
<li class="treeview">
  <?php endif; ?>
  <a href="#"><i class="fa fa-reorder"></i> <span>订单管理中心</span>
    <span class="pull-right-container">
      <i class="fa fa-angle-left pull-right"></i>
    </span>
  </a>
  <ul class="treeview-menu">
    <?php if(App\Components\MenuTools::isShowMenu(['/personal/list/order'])): ?>
    <li <?php if((isset($personal_list_order) && $personal_list_order)): ?>class="active" <?php endif; ?>><a href="/personal/list/order"><i class="fa fa-circle-o"></i>订单列表</a></li>
    <?php endif; ?>
    <?php if(App\Components\MenuTools::isShowMenu(['/personal/price/list'])): ?>
    <li <?php if((isset($price_list_info) && $price_list_info)): ?>class="active" <?php endif; ?>><a href="/personal/price/list"><i class="fa fa-circle-o"></i>余额明细</a></li>
    <?php endif; ?>
  </ul>
</li>
<?php endif; ?>
